package kltn.data;

import java.io.Serializable;
import java.util.ArrayList;

import com.google.android.gms.maps.model.LatLng;

public class Direction implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int ID;
	public Direction(int iD, String summary, String legs, String distance,
			String duration, ArrayList<LatLng> points) {
		super();
		ID = iD;
		this.summary = summary;
		this.legs = legs;
		this.distance = distance;
		this.duration = duration;
		this.points = points;
	}
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	private String summary;
	private String legs;
	private String distance;
	private String duration;
	private ArrayList<LatLng> points;
	public Direction() {
		super();
	}
	public Direction(String summary, String legs, String distance,
			String duration, ArrayList<LatLng> points) {
		super();
		this.summary = summary;
		this.legs = legs;
		this.distance = distance;
		this.duration = duration;
		this.points = points;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getLegs() {
		return legs;
	}
	public void setLegs(String legs) {
		this.legs = legs;
	}
	public String getDistance() {
		return distance;
	}
	public void setDistance(String distance) {
		this.distance = distance;
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = duration;
	}
	public ArrayList<LatLng> getPoints() {
		return points;
	}
	public void setPoints(ArrayList<LatLng> points) {
		this.points = points;
	}
}
